package com.tron.annotation;

import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
public class Tron {
    @IdToName(getMethod = "getId",setMethod = "setMainName")
    private String id;
    private String mainName;
    @IdToName(getMethod = "getOrgId",setMethod = "setOrgName")
    private String orgId;
    private String orgName;
    @IdToName(getMethod = "getDepId",setMethod = "setDepName")
    private String depId;
    private String depName;
}
